package com.zxy.pojo;

import lombok.Data;


public class Book {

    private Integer BookId;
    private String BookName;
    private Integer BookCounts;
    private String detail;

    @Override
    public String toString() {
        return "Book{" +
                "BookId=" + BookId +
                ", BookName='" + BookName + '\'' +
                ", BookCounts=" + BookCounts +
                ", detail='" + detail + '\'' +
                '}';
    }

    public Integer getBookId() {
        return BookId;
    }

    public void setBookId(Integer bookId) {
        BookId = bookId;
    }

    public String getBookName() {
        return BookName;
    }

    public void setBookName(String bookName) {
        BookName = bookName;
    }

    public Integer getBookCounts() {
        return BookCounts;
    }

    public void setBookCounts(Integer bookCounts) {
        BookCounts = bookCounts;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public Book() {
    }

    public Book(Integer bookId, String bookName, Integer bookCounts, String detail) {
        BookId = bookId;
        BookName = bookName;
        BookCounts = bookCounts;
        this.detail = detail;
    }
}
